<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			div{
				width:500px;
				height:500px;
				/*background: ;*/
				background:black -webkit-linear-gradient(left,
					rgba(255,255,255,0) 0px,
					rgba(255,255,255,0.5) 200px,
					rgba(255,255,255,0.8) 240px,
					rgba(255,255,255,0.8) 280px,
					rgba(255,255,255,0.5) 320px,
					rgba(255,255,255,0) 500px
				) no-repeat -500px 0px;
				/*background-position: -500px 0px;*/
				transition: 2s;
			}
			div:hover{
				background-position: 500px 0px;
			}
		</style>
	</head>
	<body>
		<div></div>
	</body>
</html>
